package com.houxr.consumer.service;

import com.houxr.apis.HelloDubboService;

/**
 * @author houxiurong.
 * @date：2017/6/26 0006
 */

public class HelloServiceConsumer {

    private HelloDubboService helloDubboService;

    public void setHelloDubboService(HelloDubboService helloDubboService) {
        this.helloDubboService = helloDubboService;
    }

    /**
     * 调用dubboService
     *
     * @param name
     * @return
     */
    public String consumerSum(String name) {
        return helloDubboService.sayHello(name);
    }


}
